package com.groupbuying.payproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author Vincentxin
 * @Date 2019-05-29
 */
@Service
@FeignClient("service-ys")
public interface YsPayFeign {
    @PostMapping("/ysWeChatPay/miniAppPay")
    Map<String, Object> miniAppPay(@RequestParam Map<String,Object> paramMap);
    @PostMapping("/ysAliPay/aliPay")
    Map<String,Object> aliPay(@RequestParam Map<String,Object> paramMap);
}
